<!DOCTYPE html>
<html>
    <head>
        <meta charset="utf-8">
        <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
        <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
        <link rel="stylesheet" type="text/css" href="<@baseUrl url='/static/comm/plugins/layui/css/layui.css'/>">
        <style>
            .layui-form-label.layui-required:after{
                content:"*";
                color:red;
                position: absolute;
                top:10px;
                right:5px;
            }
        </style>
        <script src="<@baseUrl url='/static/comm/js/jquery.min-1.12.3.js'/>"></script>
        <script src="<@baseUrl url='/static/comm/plugins/layer/layer.js'/>"></script>

        <link rel="stylesheet" type="text/css" href="<@baseUrl url='/static/comm/css/layout.css'/>">
        <link rel="stylesheet" type="text/css" href="<@baseUrl url='/static/comm/css/change.css'/>">

        <script src="<@baseUrl url='/static/comm/plugins/layui/layui.js'/>"></script>
        <script src="<@baseUrl url='/static/comm/js/template-web.js'/>"></script>
        <script src="<@baseUrl url='/static/comm/plugins/pandyle/dist/pandyle.min.js'/>"></script>
        <script src="<@baseUrl url='/static/comm/js/global/enums.js'/>"></script>
        <script src="<@baseUrl url='/static/comm/js/global/appComm.js'/>" data-toggle="jsConfig" data-version="${jsVersion}"></script>
    </head>
    <body>
<#--        <#include "${screen_content}">-->

        <#include "../${screen_content}">

        <input type="hidden" id="contextPath" value="${contextPath}">
        <input type="hidden" id="formUrl" value="${screen_content}">
        <input type="hidden" id="pageParams" value="">
<#--        <div id="screen_content"></div>-->
    </body>
    <script type="text/javascript">
        // var formUrl = $("#formUrl").val();
        // alert(AppComm.url.getBaseURL()+"/"+formUrl.replace("form/",""));
        // $("#screen_content").load(formUrl.replace("form/",""));

        // ESC键
        $(document).keyup(function(event){
            switch(event.keyCode) {
                case 27:
                    if (layer!=null) {
                        layer.closeAll();
                        AppComm.utils.iframeCloseSelf();
                    }
                    break;
                case 96:
                    // alert("ESC");
                    break;
            }
        });

        //JavaScript代码区域
        layui.use('element', function(){
            var element = layui.element;
            element.init()
        });
        layui.config({
            base: '/static/comm/plugins/layuinotice/dist/'
        });
    </script>
</html>